/*
	顶部样式
	包含如下：
	搜索，导航栏，返回顶部，应该不用的消散文字效果
*/


/* - - - 一点点全局属性 - - - */

* {
	margin: 0px;
	padding: 0px;
}

html {
	min-width: 1330px;
}

* a:hover,
* a:focus,
* a:active {
	text-decoration: none;
}


/* - - - - - 背景，文字渐消 - - - - - */

#virtual {
	position: fixed;
	width: 100%;
	height: 100%;
	text-align: center;
	z-index: 101;
	font-family: 华文彩云;
	background: linear-gradient(135deg, #00C4FF, rgb(245, 255, 159));
}

#virtual span {
	display: inline-block;
	/* padding-top: 170px; */
	color: white;
	font-weight: lighter;
	text-shadow: 0 0 0 whitesmoke;
	position: relative;
	font-size: 66px;
	z-index: 9000;
	-webkit-animation: smoky 4s both;
	animation: smoky 4s both;
}

#virtual span:nth-child(even) {
	-webkit-animation-name: smoky-mirror;
	animation-name: smoky-mirror;
}

@-webkit-keyframes smoky {
	60% {
		text-shadow: 0 0 40px whitesmoke;
	}
	to {
		-webkit-transform: translate3d(15rem, -8rem, 0) rotate(-40deg) skewX(70deg) scale(1.5);
		transform: translate3d(15rem, -8rem, 0) rotate(-40deg) skewX(70deg) scale(1.5);
		text-shadow: 0 0 20px whitesmoke;
		opacity: 0;
	}
}

@keyframes smoky {
	60% {
		text-shadow: 0 0 40px whitesmoke;
	}
	to {
		-webkit-transform: translate3d(15rem, -8rem, 0) rotate(-40deg) skewX(70deg) scale(1.5);
		transform: translate3d(15rem, -8rem, 0) rotate(-40deg) skewX(70deg) scale(1.5);
		text-shadow: 0 0 20px whitesmoke;
		opacity: 0;
	}
}

@-webkit-keyframes smoky-mirror {
	60% {
		text-shadow: 0 0 40px whitesmoke;
	}
	to {
		-webkit-transform: translate3d(18rem, -8rem, 0) rotate(-40deg) skewX(-70deg) scale(2);
		transform: translate3d(18rem, -8rem, 0) rotate(-40deg) skewX(-70deg) scale(2);
		text-shadow: 0 0 20px whitesmoke;
		opacity: 0;
	}
}

@keyframes smoky-mirror {
	60% {
		text-shadow: 0 0 40px whitesmoke;
	}
	to {
		-webkit-transform: translate3d(18rem, -8rem, 0) rotate(-40deg) skewX(-70deg) scale(2);
		transform: translate3d(18rem, -8rem, 0) rotate(-40deg) skewX(-70deg) scale(2);
		text-shadow: 0 0 20px whitesmoke;
		opacity: 0;
	}
}


/*------- 返 回 顶 部 ------*/

.returnTop {
	display: none;
	cursor: pointer;
}

.returnTop:hover:before {
	bottom: 115px;
}

.returnTop:before {
	content: url("../img/common/top.png");
	z-index: 100;
	transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	/* IE 9 */
	-webkit-transform: rotate(-45deg);
	/* Safari And Chrome */
	position: fixed;
	bottom: 105px;
	right: 5px;
	-webkit-transition: all .2s ease-in;
	transition: all .2s ease-out;
}

.unclickTop:before {
	bottom: 105px;
}

.clickTop:before,
.clickTop:hover:before {
	bottom: 500px;
	-webkit-transition: all .8s ease-in;
	transition: all .8s ease-out;
}


/*  - - - - - 顶部样式  - - - - -*/

.header {
	background: url(../img/head/topBG.png) no-repeat;
	padding: 10px 20px;
	height: 160px;
	background-size: cover;
	text-align: center;
	position: relative;
}

.header .h-left {
	float: left;
}

.header .h-top {
	margin: 10px auto 0 auto;
	width: 1167px;
	display: inline-block;
}

.header .title {
	color: white;
	vertical-align: middle;
	margin-left: 15px;
	padding-left: 10px;
	font-size: 24px;
	border-left-color: whitesmoke;
	border-left-width: 1px;
	border-left-style: ridge;
}

.weather {
	/*天气*/
	float: right;
	width: 300px;
	height: 45px;
	margin-top: 12px;
}

.h-top .search {
	/*搜索*/
	float: right;
	top: 20px;
	right: 15px;
	width: 170px;
}


/* - - - 导航栏 - - - */
@media (min-width: 1px) {
	.navbar-nav {
	  float: left;
	  margin: 0;
	}
	.navbar-nav > li {
	  float: left;
	}
	.navbar-nav > li > a {
	  padding-top: 15px;
	  padding-bottom: 15px;
	}
  }
  
.navbar>.container {
	width: 100%;
	text-align: center;
	padding: 0;
}

.navbar {
	position: absolute;
	margin: 0;
	top: 109px;
	width: 100%;
	left: 50%;
	margin-left: -50%;
	text-align: center;
}

.navbar-nav>li {
	text-align: center;
	display: inline-block;
	position: static;
	margin: 1px 15.3px 0 15.3px;
}

.container>.navbar-nav {
	display: inline-block;
	float: none;
	width: 1167px;
}

.caret {
	margin-left: 3px;
}

.navbar-inverse .navbar-nav>li>a {
	color: white;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	-webkit-transition: all .3s ease .15s;
	-moz-transition: all .3s ease .15s;
	-o-transition: all .3s ease .15s;
	-ms-transition: all .3s ease .15s;
	transition: all .3s ease .15s;
}

.dropdown .dropdown-menu {
	/*下拉菜单*/
	text-align: center;
	width: 100% !important;
	line-height: 52px;
	position: absolute;
	/*width: 1167px;*/
	line-height: 52px;
	position: absolute;
	left: 50%;
	/*margin-left: -583.5px;*/
	margin-left: -50%;
	display: block;
	top: 51px;
	border: 0;
	border-radius: 0;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, .175);
	box-shadow: 0 3px 6px rgba(0, 0, 0, .175);
	-webkit-transition: all .3s ease .15s;
	-moz-transition: all .3s ease .15s;
	-o-transition: all .3s ease .15s;
	-ms-transition: all .3s ease .15s;
	transition: all .3s ease .15s;
}

.navbar-nav>.dropdown:first-child>a::after {
	content: url('../img/head/home.png');
}

.navbar-nav>.dropdown:first-child:hover>a::after {
	content: "主页";
	color: #4fa0d8 !important;
}

.navbar-nav>.dropdown:first-child {
	width: 58px;
	height: 50px;
	-webkit-transition: all 0.8s ease-in-out;
	-moz-transition: all 0.8s ease-in-out;
	-o-transition: all 0.8s ease-in-out;
	-ms-transition: all 0.8s ease-in-out;
	transition: all 0.8s ease-in-out;
}

.navbar-nav>.dropdown:first-child:hover {
	width: 58px;
	height: 50px;
	transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	background: #fff !important;
	border-radius: 4px;
}

.navbar-nav>.dropdown:not(:first-child):hover>a {
	background-color: #fff !important;
	color: #4fa0d8 !important;
}

.navbar-nav>.dropdown:hover>.dropdown-menu,
.dropdown-menu:hover {
	opacity: 1 !important;
	visibility: visible !important;
	overflow: visible !important;
}

.dropdown-menu>li {
	display: inline-block;
	margin: 0 50px;
	position: relative;
	text-align: center;
}

.dropdown-menu>li:not(:last-child):after {
	content: "|";
	position: absolute;
	top: -13px;
	right: -50px;
}

.dropdown-menu>li>a {
	padding: 3px 14px;
}

.navbar-inverse {
	/*去除bootstarp自带样式*/
	background-color: initial !important;
	border: none;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:hover,
.navbar-inverse .navbar-nav>.open>a:focus {
	/*导航栏主标题*/
	background-color: transparent;
	/*防止bootstarp自带背景遮挡*/
}


/*下拉菜单字体行高*/

.dropdown-menu>li>a:hover {
	/*导航栏下拉菜单字体选中状态*/
	color: #4fa0d8;
	text-decoration: none;
	background-color: transparent;
}